usingDew.Math;
usingDew.Math.Units;
namespace Dew.Examples()
{
void Example()
{
TVec a,b,c;
MtxVec.CreateIt(out a, out b, out c);
try
{
a.SetIt(true,newdouble[] {1,2,3,4}); // a = [1,2,3,4] i.e 1+2i ; 3+4i
b.Copy(a); // b = [1,2,3,4]
c.Copy(a,b); //concatenate a and b and store in c = [1,2,3,4,1,2,3,4]
}
finally
{
MtxVec.FreeIt(ref a,ref b,ref c);
}
}
}